package com.ruoyi.utli.service.impl;

import com.ruoyi.utli.mapper.SegmentUtliMapper;
import com.ruoyi.utli.service.SegmentUtliService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@Service
public class SegmentUtliServiceImpl implements SegmentUtliService {
    @Autowired
    private SegmentUtliMapper segmentUtliMapper;
    @Override
    public List<Map<String, Object>> AssessTownCodesegment(Map<String, Object> map) {
        return segmentUtliMapper.AssessTownCodesegment(map);
    }

    @Override
    public List<Map> WqBasSegmentid(Map map) {
        Object semen = map.get("semen");
        List<Map> listdata = new ArrayList<>();
        List<Map> WqBasSegmentNameAlllist = segmentUtliMapper.WqBasSegmentNameAll(map);
        return WqBasSegmentNameAlllist;
    }

    @Override
    public List<Map> WqBasSegmentidall(Map map) {
        Object semen = map.get("semen");
        List<Map> listdata = new ArrayList<>();
        List<Map> WqBasSegmentNameAlllist = segmentUtliMapper.WqBasSegmentidall(map);
        return WqBasSegmentNameAlllist;

    }
}
